package com.guo.mall.member.feign;

import com.guo.mall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author Guotianhao
 * @desc
 * @date 2020/7/9 7:12
 */
@FeignClient("mall-coupon")
public interface MemberFeign {
    /**
     * 用户优惠券
     *
     * @param memberId
     * @return
     */
    @RequestMapping("/coupon/smscoupon/member/coupons")
    public R list(@RequestParam String memberId);
}
